# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Nov 17 2010)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx

###########################################################################
## Class panel_codigo
###########################################################################

class panel_codigo ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 607,517 ), style = wx.TAB_TRAVERSAL )
		
		bSizer4 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer3 = wx.BoxSizer( wx.HORIZONTAL )
		
		sbSizer3 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"Ejecutar / Execute" ), wx.HORIZONTAL )
		
		self.m_bpButton_codigo = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/run_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_bpButton_codigo.SetToolTipString( u"Ejecutar código Python" )
		
		self.m_bpButton_codigo.SetToolTipString( u"Ejecutar código Python" )
		
		sbSizer3.Add( self.m_bpButton_codigo, 0, wx.ALL, 5 )
		
		self.m_bpButton_stop_eje = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/stop_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_bpButton_stop_eje.SetToolTipString( u"Parar script en ejecución" )
		
		self.m_bpButton_stop_eje.SetToolTipString( u"Parar script en ejecución" )
		
		sbSizer3.Add( self.m_bpButton_stop_eje, 0, wx.ALL, 5 )
		
		bSizer3.Add( sbSizer3, 1, wx.EXPAND, 5 )
		
		bSizer4.Add( bSizer3, 0, wx.EXPAND, 5 )
		
		self.m_splitter_codigo = wx.SplitterWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_splitter_codigo.Bind( wx.EVT_IDLE, self.m_splitter_codigoOnIdle )
		self.m_splitter_codigo.SetMinimumPaneSize( 100 )
		
		self.m_panel_codigo = wx.Panel( self.m_splitter_codigo, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		self.m_panel_errores = wx.Panel( self.m_splitter_codigo, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer5 = wx.BoxSizer( wx.VERTICAL )
		
		sbSizer1 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel_errores, wx.ID_ANY, u"Salida / Output" ), wx.VERTICAL )
		
		self.m_textCtrl_salida = wx.TextCtrl( self.m_panel_errores, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_MULTILINE|wx.TE_READONLY )
		self.m_textCtrl_salida.SetForegroundColour( wx.Colour( 0, 59, 255 ) )
		
		sbSizer1.Add( self.m_textCtrl_salida, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer5.Add( sbSizer1, 1, wx.EXPAND, 5 )
		
		sbSizer11 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel_errores, wx.ID_ANY, u"Errores / Errors" ), wx.VERTICAL )
		
		self.m_textCtrl_errores = wx.TextCtrl( self.m_panel_errores, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_MULTILINE|wx.TE_READONLY )
		self.m_textCtrl_errores.SetForegroundColour( wx.Colour( 255, 0, 0 ) )
		
		sbSizer11.Add( self.m_textCtrl_errores, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer5.Add( sbSizer11, 1, wx.EXPAND, 5 )
		
		self.m_panel_errores.SetSizer( bSizer5 )
		self.m_panel_errores.Layout()
		bSizer5.Fit( self.m_panel_errores )
		self.m_splitter_codigo.SplitVertically( self.m_panel_codigo, self.m_panel_errores, 428 )
		bSizer4.Add( self.m_splitter_codigo, 1, wx.EXPAND, 5 )
		
		self.SetSizer( bSizer4 )
		self.Layout()
		
		# Connect Events
		self.m_bpButton_codigo.Bind( wx.EVT_BUTTON, self.OnEjecutarCodigo )
		self.m_bpButton_stop_eje.Bind( wx.EVT_BUTTON, self.OnStopEjecucion )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnEjecutarCodigo( self, event ):
		event.Skip()
	
	def OnStopEjecucion( self, event ):
		event.Skip()
	
	def m_splitter_codigoOnIdle( self, event ):
		self.m_splitter_codigo.SetSashPosition( 428 )
		self.m_splitter_codigo.Unbind( wx.EVT_IDLE )
	

